-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.2.2
-
Code
-
Classes
- ApiController
Total Complexity |
125 |
Dependencies |
5 |
Dependents |
3 |
Total lines |
711 |
Lines of code |
492 |
Logical lines of code |
275 |
Comment lines |
84 |
Methods |
16 |
Properties |
5 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
handleResponse() |
D |
22 |
53 |
170 |
processMediaItem() |
B |
40 |
19 |
53 |
handleNewSuccess() |
B |
37 |
15 |
83 |
getRequest() |
A |
40 |
10 |
58 |
doRequest() |
A |
46 |
8 |
36 |
dumpMediaItem() |
S |
55 |
4 |
18 |
checkFileSizeMargin() |
S |
62 |
4 |
11 |
returnSuccess() |
S |
62 |
3 |
12 |
getInstance() |
S |
73 |
2 |
5 |
__construct() |
S |
71 |
1 |
5 |
encodeURL() |
S |
69 |
1 |
6 |
parseResponse() |
S |
73 |
1 |
5 |
getResultObject() |
S |
67 |
1 |
8 |
returnFailure() |
S |
67 |
1 |
8 |
returnRetry() |
S |
69 |
1 |
7 |
returnOK() |
S |
69 |
1 |
7 |